home *** CD-ROM | disk | FTP | other *** search
/ Quick PC 61 / Quick PC 61.iso / I386 / DRIVER.CAB / hp5sim.gpd < prev    next >
Encoding:
Text File  |  2003-02-21  |  57.1 KB  |  1,832 lines

  1. *GPDSpecVersion: "1.0"
  2. *GPDFileVersion: "1.109"
  3. *GPDFileName: "hp5sim.gpd"
  4. *Include: "StdNames.gpd"
  5. *Include: "ttfsub.gpd"
  6. *ModelName: "HP LaserJet 5Si MX"
  7. *MasterUnits: PAIR(1200, 1200)
  8.  
  9. *ResourceDLL: "pcl5eres.dll"
  10. *HelpFile: "hpcljx.hlp"
  11.  
  12. *FontCartSlots: 4
  13. *PrinterType: PAGE
  14. *MaxCopies: 999
  15.  
  16. *PrintRate: 24
  17. *PrintRateUnit: PPM
  18. *PrintRatePPM: 24
  19.  
  20. *rcInstalledOptionNameID:    443 *% Installed
  21. *rcNotInstalledOptionNameID: 444 *% Not Installed
  22.  
  23. *Feature: Orientation
  24. {
  25.     *rcNameID: =ORIENTATION_DISPLAY
  26.     *DefaultOption: PORTRAIT
  27.     *Option: PORTRAIT
  28.     {
  29.         *rcNameID: =PORTRAIT_DISPLAY
  30.         *Command: CmdSelect
  31.         {
  32.             *Order: DOC_SETUP.2
  33.             *NoPageEject?: TRUE
  34.             *Cmd: "<1B>&l0o1E"
  35.         }
  36.     }
  37.     *Option: LANDSCAPE_CC90
  38.     {
  39.         *rcNameID: =LANDSCAPE_DISPLAY
  40.         *Command: CmdSelect
  41.         {
  42.             *Order: DOC_SETUP.2
  43.             *NoPageEject?: TRUE
  44.             *Cmd: "<1B>&l1o1E"
  45.         }
  46.     }
  47. }
  48.  
  49. *Feature: InputBin
  50. {
  51.     *rcNameID: =PAPER_SOURCE_DISPLAY
  52.     *DefaultOption: Option1
  53.     *Option: Option1
  54.     {
  55.         *rcNameID: 271  *% Automatically Select
  56.         *Command: CmdSelect
  57.         {
  58.             *Order: DOC_SETUP.5
  59.             *Cmd: "<1B>&l7H"
  60.         }
  61.     }
  62.     *Option: UPPER
  63.     {
  64.         *rcNameID: 277  *% Tray2
  65.         *Constraints: LIST(MediaType.Transparency,MediaType.Labels)
  66.         *Command: CmdSelect
  67.         {
  68.             *Order: DOC_SETUP.5
  69.             *Cmd: "<1B>&l1H"
  70.         }
  71.     }
  72.     *Option: MANUAL
  73.     {
  74.         *rcNameID: 494  *% Manual Feed
  75.         *Command: CmdSelect
  76.         {
  77.             *Order: DOC_SETUP.5
  78.             *Cmd: "<1B>&l2H"
  79.         }
  80.     }
  81.     *Option: LOWER
  82.     {
  83.         *rcNameID: 410  *% Tray3
  84.         *Constraints: LIST(MediaType.Transparency,MediaType.Labels)
  85.         *Command: CmdSelect
  86.         {
  87.             *Order: DOC_SETUP.5
  88.             *Cmd: "<1B>&l4H"
  89.         }
  90.     }
  91.     *Option: ENVFEED
  92.     {
  93.         *rcNameID: =ENV_FEED_DISPLAY  *% Envelope Feeder
  94.         *Constraints: LIST(MediaType.Transparency)
  95.         *Command: CmdSelect
  96.         {
  97.             *Order: DOC_SETUP.5
  98.             *Cmd: "<1B>&l6H"
  99.         }
  100.     }
  101.     *Option: Option7
  102.     {
  103.         *rcNameID: 276  *% MP Tray
  104.         *Command: CmdSelect
  105.         {
  106.             *Order: DOC_SETUP.5
  107.             *Cmd: "<1B>&l8H"
  108.         }
  109.     }
  110.     *Option: LARGECAPACITY
  111.     {
  112.         *rcNameID: 428  *% Large Capacity
  113.         *Constraints: LIST(MediaType.Transparency,MediaType.Labels)
  114.         *Command: CmdSelect
  115.         {
  116.             *Order: DOC_SETUP.5
  117.             *Cmd: "<1B>&l5H"
  118.         }
  119.     }
  120. }
  121.  
  122. *% IMPORTANT NOTE:
  123. *% The OEM customization code assumes that this feature's keyname is
  124. *%   "EnvFeeder"
  125. *% The OEM customization code assumes that the options are named "TRUE" and
  126. *%   "FALSE"
  127. *%
  128. *% explicit feature to constrain env feeder
  129. *Feature: EnvFeeder
  130. {
  131.     *rcNameID: =ENV_FEED_DISPLAY
  132.     *HelpIndex: 12000
  133.     *FeatureType: PRINTER_PROPERTY
  134.     *DefaultOption: FALSE
  135.     *Option: FALSE
  136.     {
  137.         *rcNameID: 444
  138.     }
  139.     *Option: TRUE
  140.     {
  141.         *rcNameID: 443
  142.     }
  143. }
  144. *InvalidCombination: LIST(EnvFeeder.FALSE,InputBin.ENVFEED)
  145.  
  146. *% IMPORTANT NOTE:
  147. *% The OEM customization code assumes that this feature's keyname is
  148. *%   "HCI"
  149. *% The OEM customization code assumes that the options are named "NONE" and
  150. *%   "2000HCI"
  151. *%
  152. *% explicit feature to constrain tray 4
  153. *Feature: HCI
  154. {
  155.     *rcNameID: 373   *%High Capacity Input
  156.     *HelpIndex: 12001
  157.     *FeatureType: PRINTER_PROPERTY
  158.     *DefaultOption: NONE
  159.     *Option: NONE
  160.     {
  161.         *rcNameID: 444
  162.     }
  163.     *Option: 2000HCI
  164.     {
  165.         *rcNameID: 427
  166.     }
  167. }
  168. *InvalidCombination: LIST(HCI.NONE,InputBin.LARGECAPACITY)
  169.  
  170. *Feature: Resolution
  171. {
  172.     *rcNameID: =RESOLUTION_DISPLAY
  173.     *DefaultOption: Option1
  174.     *Option: Option1
  175.     {
  176.         *Name: "600 x 600 " =DOTS_PER_INCH
  177.         *DPI: PAIR(600, 600)
  178.         *TextDPI: PAIR(600, 600)
  179.         *MinStripBlankPixels: 32
  180.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  181.         *SpotDiameter: 100
  182.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  183.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  184.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  185.         *Command: CmdSelect
  186.         {
  187.             *Order: JOB_SETUP.6
  188.             *Cmd: "@PJL SET RESOLUTION=600<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t600R"
  189.         }
  190.     }
  191.     *Option: Option2
  192.     {
  193.         *Name: "300 x 300 " =DOTS_PER_INCH
  194.         *DPI: PAIR(300, 300)
  195.         *TextDPI: PAIR(300, 300)
  196.         *MinStripBlankPixels: 32
  197.         EXTERN_GLOBAL: *StripBlanks: LIST(ENCLOSED,TRAILING)
  198.         *SpotDiameter: 100
  199.         *Command: CmdBeginRaster { *Cmd : "<1B>*r1A" }
  200.         *Command: CmdEndRaster { *Cmd : "<1B>*rB" }
  201.         *Command: CmdSendBlockData { *Cmd : "<1B>*b" %d{NumOfDataBytes}"W" }
  202.         *Command: CmdSelect
  203.         {
  204.             *Order: JOB_SETUP.6
  205.             *Cmd: "@PJL SET RESOLUTION=300<0A>@PJL ENTER LANGUAGE=PCL<0A0D1B>E<1B>*t300R"
  206.         }
  207.     }
  208. }
  209.  
  210.  
  211. *% define macro for common paper constraints
  212. *BlockMacro: PaperConstraints
  213. {
  214.     *Constraints: LIST(InputBin.UPPER, InputBin.LOWER, InputBin.LARGECAPACITY)
  215. }
  216.  
  217.  
  218. *Feature: PaperSize
  219. {
  220.     *rcNameID: =PAPER_SIZE_DISPLAY
  221.     *HelpIndex: 13022
  222.     *DefaultOption: LETTER
  223.     *Option: LETTER
  224.     {
  225.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  226.         *PageProtectMem: 4109
  227.         *Constraints: InputBin.ENVFEED
  228.         *switch: Orientation
  229.         {
  230.             *case: PORTRAIT
  231.             {
  232.                 *PrintableArea: PAIR(9600, 12800)
  233.                 *PrintableOrigin: PAIR(300, 200)
  234.                 *CursorOrigin: PAIR(300, 200)
  235.                 *Command: CmdSelect
  236.                 {
  237.                     *Order: DOC_SETUP.6
  238.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t5760x7680Y"
  239.                 }
  240.             }
  241.             *case: LANDSCAPE_CC90
  242.             {
  243.                 *PrintableArea: PAIR(9800, 12720)
  244.                 *PrintableOrigin: PAIR(200, 240)
  245.                 *CursorOrigin: PAIR(200, 12960)
  246.                 *Command: CmdSelect
  247.                 {
  248.                     *Order: DOC_SETUP.6
  249.                     *Cmd: "<1B>&l2a8c1E<1B>*p0x0Y<1B>*c0t7632x5880Y"
  250.                 }
  251.             }
  252.         }
  253.     }   
  254.     *Option: LEGAL
  255.     {
  256.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  257.         *PageProtectMem: 5230
  258.         *Constraints: InputBin.ENVFEED
  259.         *switch: Orientation
  260.         {
  261.             *case: PORTRAIT
  262.             {
  263.                 *PrintableArea: PAIR(9600, 16400)
  264.                 *PrintableOrigin: PAIR(300, 200)
  265.                 *CursorOrigin: PAIR(300, 200)
  266.                 *Command: CmdSelect
  267.                 {
  268.                     *Order: DOC_SETUP.6
  269.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t5760x9840Y"
  270.                 }
  271.             }
  272.             *case: LANDSCAPE_CC90
  273.             {
  274.                 *PrintableArea: PAIR(9800, 16320)
  275.                 *PrintableOrigin: PAIR(200, 240)
  276.                 *CursorOrigin: PAIR(200, 16560)
  277.                 *Command: CmdSelect
  278.                 {
  279.                     *Order: DOC_SETUP.6
  280.                     *Cmd: "<1B>&l3a8c1E<1B>*p0x0Y<1B>*c0t9792x5880Y"
  281.                 }
  282.             }
  283.         }
  284.     }
  285.     *Option: EXECUTIVE
  286.     {
  287.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  288.         *PageProtectMem: 4109
  289.         *InsertBlock: =PaperConstraints
  290.         *Constraints: InputBin.ENVFEED
  291.         *switch: Orientation
  292.         {
  293.             *case: PORTRAIT
  294.             {
  295.                 *PrintableArea: PAIR(8100, 12200)
  296.                 *PrintableOrigin: PAIR(300, 200)
  297.                 *CursorOrigin: PAIR(300, 200)
  298.                 *Command: CmdSelect
  299.                 {
  300.                     *Order: DOC_SETUP.6
  301.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t4860x7320Y"
  302.                 }
  303.             }
  304.             *case: LANDSCAPE_CC90
  305.             {
  306.                 *PrintableArea: PAIR(8300, 12120)
  307.                 *PrintableOrigin: PAIR(200, 240)
  308.                 *CursorOrigin: PAIR(200, 12360)
  309.                 *Command: CmdSelect
  310.                 {
  311.                     *Order: DOC_SETUP.6
  312.                     *Cmd: "<1B>&l1a8c1E<1B>*p0x0Y<1B>*c0t7272x4980Y"
  313.                 }
  314.             }
  315.         }
  316.     }
  317.     *Option: 11X17
  318.     {
  319.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME       
  320.         *PageProtectMem: 9350
  321.         *Constraints: InputBin.UPPER
  322.         *Constraints: InputBin.ENVFEED
  323.         *switch: Orientation
  324.         {
  325.             *case: PORTRAIT
  326.             {
  327.                 *PrintableArea: PAIR(12600, 20000)
  328.                 *PrintableOrigin: PAIR(300, 200)
  329.                 *CursorOrigin: PAIR(300, 200)
  330.                 *Command: CmdSelect
  331.                 {
  332.                     *Order: DOC_SETUP.6
  333.                     *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t7560x12000Y"
  334.                 }
  335.             }
  336.             *case: LANDSCAPE_CC90
  337.             {
  338.                 *PrintableArea: PAIR(12800, 19920)
  339.                 *PrintableOrigin: PAIR(200, 240)
  340.                 *CursorOrigin: PAIR(200, 20160)
  341.                 *Command: CmdSelect
  342.                 {
  343.                     *Order: DOC_SETUP.6
  344.                     *Cmd: "<1B>&l6a8c1E<1B>*p0x0Y<1B>*c0t11952x7680Y"
  345.                 }
  346.             }
  347.         }
  348.     }
  349.     *Option: A4
  350.     {
  351.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  352.         *PageProtectMem: 4249
  353.         *Constraints: InputBin.ENVFEED
  354.         *switch: Orientation
  355.         {
  356.             *case: PORTRAIT
  357.             {
  358.                 *PrintableArea: PAIR(9352, 13628)
  359.                 *PrintableOrigin: PAIR(284, 200)
  360.                 *CursorOrigin: PAIR(284, 200)
  361.                 *Command: CmdSelect
  362.                 {
  363.                     *Order: DOC_SETUP.6
  364.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t5611x8177Y"
  365.                 }
  366.             }
  367.             *case: LANDSCAPE_CC90
  368.             {
  369.                 *PrintableArea: PAIR(9520, 13556)
  370.                 *PrintableOrigin: PAIR(200, 236)
  371.                 *CursorOrigin: PAIR(200, 13792)
  372.                 *Command: CmdSelect
  373.                 {
  374.                     *Order: DOC_SETUP.6
  375.                     *Cmd: "<1B>&l26a8c1E<1B>*p0x0Y<1B>*c0t8134x5712Y"
  376.                 }
  377.             }
  378.         }
  379.     }
  380.     *Option: ENV_10
  381.     {
  382.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  383.         *PageProtectMem: 4109
  384.         *InsertBlock: =PaperConstraints
  385.         *Constraints: Duplex.VERTICAL
  386.         *Constraints: Duplex.HORIZONTAL
  387.         *switch: Orientation
  388.         {
  389.             *case: PORTRAIT
  390.             {
  391.                 *PrintableArea: PAIR(4348, 11000)
  392.                 *PrintableOrigin: PAIR(300, 200)
  393.                 *CursorOrigin: PAIR(300, 200)
  394.                 *Command: CmdSelect
  395.                 {
  396.                     *Order: DOC_SETUP.6
  397.                     *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t2609x6600Y"
  398.                 }
  399.             }
  400.             *case: LANDSCAPE_CC90
  401.             {
  402.                 *PrintableArea: PAIR(4548, 10920)
  403.                 *PrintableOrigin: PAIR(200, 240)
  404.                 *CursorOrigin: PAIR(200, 11160)
  405.                 *Command: CmdSelect
  406.                 {
  407.                     *Order: DOC_SETUP.6
  408.                     *Cmd: "<1B>&l81a8c1E<1B>*p0x0Y<1B>*c0t6552x2729Y"
  409.                 }
  410.             }
  411.         }
  412.     }
  413.     *Option: ENV_DL
  414.     {
  415.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  416.         *PageProtectMem: 4109
  417.         *InsertBlock: =PaperConstraints
  418.         *Constraints: Duplex.VERTICAL
  419.         *Constraints: Duplex.HORIZONTAL
  420.         *switch: Orientation
  421.         {
  422.             *case: PORTRAIT
  423.             {
  424.                 *PrintableArea: PAIR(4628, 9992)
  425.                 *PrintableOrigin: PAIR(284, 200)
  426.                 *CursorOrigin: PAIR(284, 200)
  427.                 *Command: CmdSelect
  428.                 {
  429.                     *Order: DOC_SETUP.6
  430.                     *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t2777x5995Y"
  431.                 }
  432.             }
  433.             *case: LANDSCAPE_CC90
  434.             {
  435.                 *PrintableArea: PAIR(4796, 9920)
  436.                 *PrintableOrigin: PAIR(200, 236)
  437.                 *CursorOrigin: PAIR(200,10156)
  438.                 *Command: CmdSelect
  439.                 {
  440.                     *Order: DOC_SETUP.6
  441.                     *Cmd: "<1B>&l90a8c1E<1B>*p0x0Y<1B>*c0t5952x2878Y"
  442.                 }
  443.             }
  444.         }
  445.     }
  446.     *Option: ENV_MONARCH
  447.     {
  448.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  449.         *PageProtectMem: 4109
  450.         *InsertBlock: =PaperConstraints
  451.         *Constraints: Duplex.VERTICAL
  452.         *Constraints: Duplex.HORIZONTAL
  453.         *switch: Orientation
  454.         {
  455.             *case: PORTRAIT
  456.             {
  457.                 *PrintableArea: PAIR(4048, 8600)
  458.                 *PrintableOrigin: PAIR(300, 200)
  459.                 *CursorOrigin: PAIR(300, 200)
  460.                 *Command: CmdSelect
  461.                 {
  462.                     *Order: DOC_SETUP.6
  463.                     *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t2429x5160Y"
  464.                 }
  465.             }
  466.             *case: LANDSCAPE_CC90
  467.             {
  468.                 *PrintableArea: PAIR(4248, 8520)
  469.                 *PrintableOrigin: PAIR(200, 240)
  470.                 *CursorOrigin: PAIR(200, 8760)
  471.                 *Command: CmdSelect
  472.                 {
  473.                     *Order: DOC_SETUP.6
  474.                     *Cmd: "<1B>&l80a8c1E<1B>*p0x0Y<1B>*c0t5112x2549Y"
  475.                 }
  476.             }
  477.         }
  478.     }    
  479.     *Option: A3
  480.     {
  481.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  482.         *PageProtectMem: 9667
  483.         *Constraints: InputBin.ENVFEED
  484.         *Constraints: InputBin.UPPER
  485.         *switch: Orientation
  486.         {
  487.             *case: PORTRAIT
  488.             {
  489.                 *PrintableArea: PAIR(13460, 19440)
  490.                 *PrintableOrigin: PAIR(284, 200)
  491.                 *CursorOrigin: PAIR(284, 200)
  492.                 *Command: CmdSelect
  493.                 {
  494.                     *Order: DOC_SETUP.6
  495.                     *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t8076x11664Y"
  496.                 }
  497.             }
  498.             *case: LANDSCAPE_CC90
  499.             {
  500.                 *PrintableArea: PAIR(13628, 19368)
  501.                 *PrintableOrigin: PAIR(200, 236)
  502.                 *CursorOrigin: PAIR(200, 19604)
  503.                 *Command: CmdSelect
  504.                 {
  505.                     *Order: DOC_SETUP.6
  506.                     *Cmd: "<1B>&l27a8c1E<1B>*p0x0Y<1B>*c0t11621x8177Y"
  507.                 }
  508.             }
  509.         }
  510.     }
  511.     *Option: B4
  512.     {
  513.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  514.         *PageProtectMem: 6391
  515.         *Constraints: InputBin.ENVFEED
  516.         *switch: Orientation
  517.         {
  518.             *case: PORTRAIT
  519.             {
  520.                 *PrintableArea: PAIR(11572, 16796)
  521.                 *PrintableOrigin: PAIR(284, 200)
  522.                 *CursorOrigin: PAIR(284, 200)
  523.                 *Command: CmdSelect
  524.                 {
  525.                     *Order: DOC_SETUP.6
  526.                     *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t6943x10078Y"
  527.                 }
  528.             }
  529.             *case: LANDSCAPE_CC90
  530.             {
  531.                 *PrintableArea: PAIR(11740, 16724)
  532.                 *PrintableOrigin: PAIR(200, 236)
  533.                 *CursorOrigin: PAIR(200, 16960)
  534.                 *Command: CmdSelect
  535.                 {
  536.                     *Order: DOC_SETUP.6
  537.                     *Cmd: "<1B>&l46a8c1E<1B>*p0x0Y<1B>*c0t10034x7044Y"
  538.                 }
  539.             }
  540.         }
  541.     }    
  542.     *Option: B5
  543.     {
  544.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  545.         *PageProtectMem: 3198
  546.         *InsertBlock: =PaperConstraints
  547.         *Constraints: InputBin.ENVFEED
  548.         *switch: Orientation
  549.         {
  550.             *case: PORTRAIT
  551.             {
  552.                 *PrintableArea: PAIR(8028, 11740)
  553.                 *PrintableOrigin: PAIR(284, 200)
  554.                 *CursorOrigin: PAIR(284, 200)
  555.                 *Command: CmdSelect
  556.                 {
  557.                     *Order: DOC_SETUP.6
  558.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t4817x7044Y"
  559.                 }
  560.             }
  561.             *case: LANDSCAPE_CC90
  562.             {
  563.                 *PrintableArea: PAIR(8196, 11668)
  564.                 *PrintableOrigin: PAIR(200, 236)
  565.                 *CursorOrigin: PAIR(200, 11904)
  566.                 *Command: CmdSelect
  567.                 {
  568.                     *Order: DOC_SETUP.6
  569.                     *Cmd: "<1B>&l45a8c1E<1B>*p0x0Y<1B>*c0t7001x4918Y"
  570.                 }
  571.             }
  572.         }
  573.     }    
  574.     *Option: ENV_C5
  575.     {
  576.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  577.         *PageProtectMem: 4109
  578.         *InsertBlock: =PaperConstraints
  579.         *Constraints: Duplex.VERTICAL
  580.         *Constraints: Duplex.HORIZONTAL
  581.         *switch: Orientation
  582.         {
  583.             *case: PORTRAIT
  584.             {
  585.                 *PrintableArea: PAIR(7084, 10416)
  586.                 *PrintableOrigin: PAIR(284, 200)
  587.                 *CursorOrigin: PAIR(284, 200)
  588.                 *Command: CmdSelect
  589.                 {
  590.                     *Order: DOC_SETUP.6
  591.                     *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t4250x6250Y"
  592.                 }
  593.             }
  594.             *case: LANDSCAPE_CC90
  595.             {
  596.                 *PrintableArea: PAIR(7252, 10344)
  597.                 *PrintableOrigin: PAIR(200, 236)
  598.                 *CursorOrigin: PAIR(200, 10580)
  599.                 *Command: CmdSelect
  600.                 {
  601.                     *Order: DOC_SETUP.6
  602.                     *Cmd: "<1B>&l91a8c1E<1B>*p0x0Y<1B>*c0t6206x4351Y"
  603.                 }
  604.             }
  605.         }    
  606.     }
  607. *Ifdef: WINNT_50
  608.     *Option: DBL_JAPANESE_POSTCARD_ROTATED
  609.     {
  610.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  611.         *PageProtectMem: 4109
  612.         *Constraints: InputBin.ENVFEED
  613.         *Constraints: Duplex.VERTICAL
  614.         *Constraints: Duplex.HORIZONTAL
  615.         *InsertBlock: =PaperConstraints
  616.         *switch: Orientation
  617.         {
  618.             *case: PORTRAIT
  619.             {
  620.                 *PrintableArea: PAIR(6392,9048)
  621.                 *PrintableOrigin: PAIR(300, 200)
  622.                 *CursorOrigin: PAIR(300, 200)
  623.                 *Command: CmdSelect
  624.                 {
  625.                     *Order: DOC_SETUP.6
  626.                     *Cmd: "<1B>&l72a8c1E<1B>*p0x0Y<1B>*c0t3835x5429Y"
  627.                 }
  628.             }
  629.             *case: LANDSCAPE_CC90
  630.             {
  631.                 *PrintableArea: PAIR(6592, 8968)
  632.                 *PrintableOrigin: PAIR(200, 240)
  633.                 *CursorOrigin: PAIR(200, 9208)
  634.                 *Command: CmdSelect
  635.                 {
  636.                     *Order: DOC_SETUP.6
  637.                     *Cmd: "<1B>&l72a8c1E<1B>*p0x0Y<1B>*c0t5381x3955Y"
  638.                 }
  639.             }
  640.         }
  641.     }
  642. *Endif: WINNT_50
  643.     *Option: CUSTOMSIZE
  644.     {
  645.         *rcNameID: =USER_DEFINED_SIZE_DISPLAY
  646.         *MinSize: PAIR(4632,9000)
  647.         *MaxSize: PAIR(14040, 21240)
  648.         *MaxPrintableWidth: 14040
  649.         *MinLeftMargin: 100
  650.         *CenterPrintable?: FALSE
  651.         *PageProtectMem: 1692
  652.         *InsertBlock: =PaperConstraints
  653.         *Constraints: InputBin.ENVFEED
  654.         *switch: Orientation
  655.         {
  656.             *case: PORTRAIT
  657.             {
  658.                 *CustCursorOriginX:  %d{((PhysPaperWidth - 14040) / 2) +300}
  659.                 *CustCursorOriginY:   %d{200 }
  660.                 *CustPrintableOriginX:  %d{200}
  661.                 *CustPrintableOriginY:  %d{200}
  662.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 400 }
  663.                 *CustPrintableSizeY:  %d{ PhysPaperLength - 400 }
  664.                 *Command: CmdSelect
  665.                 {
  666.                      *Order: DOC_SETUP.6
  667.                      *Cmd: "<1B>&l101a8c1e99F<1B>*p0x0Y<1B>*c0t8184x12504Y"
  668.                 }
  669.             }
  670.             *case: LANDSCAPE_CC90
  671.             {
  672.                 *CustCursorOriginX:  %d{((PhysPaperWidth - 14040) / 2) +200 }
  673.                 *CustCursorOriginY:   %d{21000}
  674.                 *CustPrintableOriginX:  %d{200}
  675.                 *CustPrintableOriginY:  %d{240}
  676.                 *CustPrintableSizeX:   %d{ PhysPaperWidth - 400 }
  677.                 *CustPrintableSizeY:  %d{ PhysPaperLength - 480 }
  678.  
  679.                 *Command: CmdSelect
  680.                 {
  681.                     *Order: DOC_SETUP.6
  682.                     *Cmd: "<1B>&l101a8c1e63F<1B>*p0x0Y<1B>*c0t12456x8184Y"
  683.                 }
  684.            }
  685.         }
  686.     }
  687.     *Option: MyMax117x177
  688.     {
  689.         *% Maximum 11.7 x17.7
  690.         *rcNameID: 262
  691.         *PageDimensions: PAIR(14040, 21240)
  692.         *PageProtectMem: 10000
  693.         *InsertBlock: =PaperConstraints
  694.         *Constraints: InputBin.ENVFEED 
  695.         *Constraints: Duplex.VERTICAL
  696.         *Constraints: Duplex.HORIZONTAL
  697.         *switch: Orientation
  698.         {
  699.             *case: PORTRAIT
  700.             {
  701.                 *PrintableArea: PAIR(13440, 20840)
  702.                 *PrintableOrigin: PAIR(300, 200)
  703.                 *CursorOrigin: PAIR(300, 200)
  704.                 *Command: CmdSelect
  705.                 {
  706.                     *Order: DOC_SETUP.6
  707.                     *Cmd: "<1B>&l101a1e99F<1B>*p0x0Y<1B>*c0t8064x12504Y"
  708.                 }
  709.             }
  710.             *case: LANDSCAPE_CC90
  711.             {
  712.                 *PrintableArea: PAIR(13640, 20760)
  713.                 *PrintableOrigin: PAIR(200, 240)
  714.                 *CursorOrigin: PAIR(200, 21000)
  715.                 *Command: CmdSelect
  716.                 {
  717.                     *Order: DOC_SETUP.6
  718.                     *Cmd: "<1B>&l101a1e63F<1B>*p0x0Y<1B>*c0t12456x8184Y"
  719.                 }
  720.             }
  721.         }
  722.     }
  723.     *Option: ENV_B5
  724.     {
  725.         *rcNameID: =RCID_DMPAPER_SYSTEM_NAME
  726.         *PageProtectMem: 4109
  727.         *InsertBlock: =PaperConstraints
  728.         *Constraints: Duplex.VERTICAL
  729.         *Constraints: Duplex.HORIZONTAL
  730.         *switch: Orientation
  731.         {
  732.             *case: PORTRAIT
  733.             {
  734.                 *PrintableArea: PAIR(7744, 11408)
  735.                 *PrintableOrigin: PAIR(284, 200)
  736.                 *CursorOrigin: PAIR(284, 200)
  737.                 *Command: CmdSelect
  738.                 {
  739.                     *Order: DOC_SETUP.6
  740.                     *Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t4646x6845Y"
  741.                 }
  742.             }
  743.             *case: LANDSCAPE_CC90
  744.             {
  745.                 *PrintableArea: PAIR(7912, 11336)
  746.                 *PrintableOrigin: PAIR(200, 236)
  747.                 *CursorOrigin: PAIR(200, 11572)
  748.                 *Command: CmdSelect
  749.                 {
  750.                     *Order: DOC_SETUP.6
  751.                     *Cmd: "<1B>&l100a8c1E<1B>*p0x0Y<1B>*c0t6802x4747Y"
  752.                 }
  753.             }
  754.         }
  755.     }    
  756. }
  757.  
  758. *% MPH: attempt to add media type selection
  759. *Feature: MediaType
  760. {
  761.     *rcNameID: =MEDIA_TYPE_DISPLAY
  762.     *DefaultOption: AutoSelect
  763.     *Option: AutoSelect
  764.     {
  765.         *rcNameID: 271
  766.         *Command: CmdSelect
  767.         {
  768.             *Order: DOC_SETUP.6
  769.             *Cmd: ""
  770.         }
  771.     }
  772.     *Option: Plain
  773.     {
  774.         *rcNameID: 435   *% Plain
  775.         *Command: CmdSelect
  776.         {
  777.             *Order: DOC_SETUP.6
  778.             *Cmd: "<1B>&n6WdPlain"
  779.         }
  780.     }
  781.     *Option: Preprinted
  782.     {
  783.         *rcNameID: 436   *% Preprinted
  784.         *Command: CmdSelect
  785.         {
  786.             *Order: DOC_SETUP.6
  787.             *Cmd: "<1B>&n11WdPreprinted"
  788.         }
  789.     }
  790.     *Option: Letterhead
  791.     {
  792.         *rcNameID: 437   *% Letterhead
  793.         *Command: CmdSelect
  794.         {
  795.             *Order: DOC_SETUP.6
  796.             *Cmd: "<1B>&n11WdLetterhead"
  797.         }
  798.     }
  799.     *Option: Transparency
  800.     {
  801.         *rcNameID: =TRANSPARENCY_DISPLAY    *% Transparency
  802.         *Constraints: LIST(Duplex.VERTICAL, Duplex.HORIZONTAL, OutputBin.Option13)
  803.         *Command: CmdSelect
  804.         {
  805.             *Order: DOC_SETUP.6
  806.             *Cmd: "<1B>&n13WdTransparency"
  807.         }
  808.     }
  809.     *Option: Prepunched
  810.     {
  811.         *rcNameID: 438   *% Prepunched
  812.         *Command: CmdSelect
  813.         {
  814.             *Order: DOC_SETUP.6
  815.             *Cmd: "<1B>&n11WdPrepunched"
  816.         }
  817.     }
  818.     *Option: Labels
  819.     {
  820.         *rcNameID: 439   *% Labels
  821.         *Constraints: LIST(Duplex.VERTICAL, Duplex.HORIZONTAL, OutputBin.Option13)
  822.         *Command: CmdSelect
  823.         {
  824.             *Order: DOC_SETUP.6
  825.             *Cmd: "<1B>&n7WdLabels"
  826.         }
  827.     }
  828.     *Option: Bond
  829.     {
  830.         *rcNameID: 269   *% Bond
  831.         *Command: CmdSelect
  832.         {
  833.             *Order: DOC_SETUP.6
  834.             *Cmd: "<1B>&n5WdBond"
  835.         }
  836.     }
  837.     *Option: Recycled
  838.     {
  839.         *rcNameID: 440   *% Recycled
  840.         *Command: CmdSelect
  841.         {
  842.             *Order: DOC_SETUP.6
  843.             *Cmd: "<1B>&n9WdRecycled"
  844.         }
  845.     }
  846.     *Option: Color
  847.     {
  848.         *rcNameID: 441   *% Color
  849.         *Command: CmdSelect
  850.         {
  851.             *Order: DOC_SETUP.6
  852.             *Cmd: "<1B>&n6WdColor"
  853.         }
  854.     }
  855.     *Option: CardStock
  856.     {
  857.         *rcNameID: 442   *% Cardstock
  858.         *Command: CmdSelect
  859.         {
  860.             *Order: DOC_SETUP.6
  861.             *Cmd: "<1B>&n11WdCard Stock"
  862.         }
  863.     }
  864. }
  865.  
  866. *% IMPORTANT NOTE:
  867. *% The OEM customization code assumes that this feature's keyname is
  868. *%   "PrinterHardDisk"
  869. *% The OEM customization code assumes that the options are named "TRUE" and
  870. *%   "FALSE"
  871. *%
  872. *% feature to explicitly constrain Collate
  873. *Feature: PrinterHardDisk
  874. {
  875.     *rcNameID: 430
  876.     *HelpIndex: 12002
  877.     *FeatureType: PRINTER_PROPERTY
  878.     *DefaultOption: FALSE
  879.     *Option: FALSE
  880.     {
  881.         *rcNameID: 444
  882.         *DisabledFeatures: LIST(Collate)
  883.     }
  884.     *Option: TRUE
  885.     {
  886.         *rcNameID: 443
  887.     }
  888. }
  889.  
  890. *%  Constrain against stapling a collated job without a hard disk!
  891. *InvalidCombination: LIST(PrinterHardDisk.FALSE, Collate.ON, OutputBin.Option13)
  892.  
  893. *% printer supports collation only if PrinterHardDisk installed
  894. *% (see CopyCmd and PrinterHardDisk)
  895. *Feature: Collate
  896. {
  897.     *rcNameID: 392 
  898.     *DefaultOption: OFF
  899.     *Option: ON
  900.     {
  901.         *rcNameID: =ON_DISPLAY
  902.         *switch: PrinterHardDisk
  903.         {
  904.             *case: FALSE
  905.             {
  906.                 *Command: CmdSelect
  907.                 {
  908.                     *Order: JOB_SETUP.5
  909.                     *% Collate requested but no disk => printer collate disabled
  910.                     *% Print Processor will take care of collated copies
  911.                     *Cmd: ""
  912.                 }
  913.             }
  914.             *case: TRUE
  915.             {
  916.                 *Command: CmdSelect
  917.                 {
  918.                     *Order: JOB_SETUP.5
  919.                     *% Collate requested with disk => printer collate enabled
  920.                     *% Printer will take care of collated copies
  921.                     *Cmd: "@PJL SET QTY=" %d{NumOfCopies}"<0A>"
  922.                 }
  923.             }
  924.         }
  925.     }
  926.     *Option: OFF
  927.     {
  928.         *rcNameID: =OFF_DISPLAY
  929.         *Command: CmdSelect
  930.         {
  931.             *Order: JOB_SETUP.5
  932.             *Cmd: ""
  933.         }
  934.     }
  935. }
  936.  
  937. *Feature: Economode
  938. {
  939.     *rcNameID: 377  *% EconoMode
  940.     *HelpIndex: 12009
  941.     *DefaultOption: Option1
  942.     *Option: Option1
  943.     {
  944.         *rcNameID: 266
  945.         *Command: CmdSelect
  946.         {
  947.             *Order: JOB_SETUP.3
  948.             *Cmd: "@PJL SET ECONOMODE=OFF<0A>"
  949.         }
  950.     }
  951.     *Option: Option2
  952.     {
  953.         *rcNameID: 267
  954.         *Command: CmdSelect
  955.         {
  956.             *Order: JOB_SETUP.3
  957.             *Cmd: "@PJL SET ECONOMODE=ON<0A>"
  958.         }
  959.     }
  960. }
  961.  
  962. *Feature: RET
  963. {
  964.     *rcNameID: 378
  965.     *HelpIndex: 12010
  966.     *DefaultOption: Option1
  967.     *Option: Option1
  968.     {
  969.         *rcNameID: 296
  970.         *Command: CmdSelect
  971.         {
  972.             *Order: JOB_SETUP.4
  973.             *Cmd: "@PJL SET RET=ON<0A>"
  974.         }
  975.     }
  976.     *Option: Option2
  977.     {
  978.         *rcNameID: 300
  979.         *Command: CmdSelect
  980.         {
  981.             *Order: JOB_SETUP.4
  982.             *Cmd: "@PJL SET RET=OFF<0A>"
  983.         }
  984.     }
  985. }
  986.  
  987. *Feature: Halftone
  988. {
  989.     *rcNameID: =HALFTONING_DISPLAY
  990.     *DefaultOption: HT_PATSIZE_AUTO
  991.     *Option: HT_PATSIZE_AUTO
  992.     {
  993.         *rcNameID: =HT_AUTO_SELECT_DISPLAY
  994.     }
  995.     *Option: HT_PATSIZE_SUPERCELL_M
  996.     {
  997.         *rcNameID: =HT_SUPERCELL_DISPLAY
  998.     }
  999.     *Option: HT_PATSIZE_6x6_M
  1000.     {
  1001.         *rcNameID: =HT_DITHER6X6_DISPLAY
  1002.     }
  1003.     *Option: HT_PATSIZE_8x8_M
  1004.     {
  1005.         *rcNameID: =HT_DITHER8X8_DISPLAY
  1006.     }
  1007. }
  1008.  
  1009. *Feature: Memory
  1010. {
  1011.     *rcNameID: =PRINTER_MEMORY_DISPLAY
  1012.     *HelpIndex: 12003
  1013.     *DefaultOption: 12288KB
  1014.     *% Default (on board) is 12MB.  4 memory slots with 2,4,8,16 & 32 MB dimms avail.
  1015.  
  1016.     *MemConfigKB: PAIR(4096, 3150)
  1017.     *MemConfigKB: PAIR(6144, 4950)
  1018.     *MemConfigKB: PAIR(8192, 6750)
  1019.     *MemConfigKB: PAIR(10240, 8550)
  1020.     *MemConfigKB: PAIR(12288, 10350)
  1021.     *MemConfigKB: PAIR(14336, 12150)
  1022.     *MemConfigKB: PAIR(16384, 13950)
  1023.     *MemConfigKB: PAIR(18432, 15750)
  1024.     *MemConfigKB: PAIR(20480, 17550)
  1025.     *MemConfigKB: PAIR(22528, 19350)
  1026.     *MemConfigKB: PAIR(24576, 21150)
  1027.     *MemConfigKB: PAIR(26624, 22950)
  1028.     *MemConfigKB: PAIR(28672, 24750)
  1029.     *MemConfigKB: PAIR(30720, 26550)
  1030.     *MemConfigKB: PAIR(32768, 28350)
  1031.     *MemConfigKB: PAIR(34816, 30150)
  1032.     *MemConfigKB: PAIR(36864, 31950)
  1033.     *MemConfigKB: PAIR(38912, 33750)
  1034.     *MemConfigKB: PAIR(40960, 35550)
  1035.     *MemConfigKB: PAIR(43008, 37350)
  1036.     *MemConfigKB: PAIR(45056, 39150)
  1037.     *MemConfigKB: PAIR(47104, 40950)
  1038.     *MemConfigKB: PAIR(49152, 42750)
  1039.     *MemConfigKB: PAIR(51200, 51083)
  1040.     *MemConfigKB: PAIR(53248, 46350)
  1041.     *MemConfigKB: PAIR(55296, 48150)
  1042.     *MemConfigKB: PAIR(57344, 49950)
  1043.     *MemConfigKB: PAIR(59392, 51750)
  1044.     *MemConfigKB: PAIR(61440, 53550)
  1045.     *MemConfigKB: PAIR(63488, 55350)
  1046.     *MemConfigKB: PAIR(65536, 57150)
  1047.     *MemConfigKB: PAIR(67584, 58950)
  1048.     *MemConfigKB: PAIR(69632, 60750)
  1049.     *MemConfigKB: PAIR(71680, 62550)
  1050.     *MemConfigKB: PAIR(73728, 64350)
  1051.     *MemConfigKB: PAIR(75766, 66146)
  1052.     *MemConfigKB: PAIR(77824, 67944)
  1053. }
  1054.  
  1055. *% IMPORTANT NOTE:
  1056. *% The OEM customization code assumes that this feature's keyname is
  1057. *%   "DuplexUnit"
  1058. *% The OEM customization code assumes that the options are named "TRUE" and
  1059. *%   "FALSE"
  1060. *%
  1061. *% new explicit constraint (non synthesized) for Duplex
  1062. *Feature: DuplexUnit
  1063. {
  1064.     *rcNameID: 429 *% Duplex Unit
  1065.     *HelpIndex: 12004
  1066.     *FeatureType: PRINTER_PROPERTY
  1067.     *DefaultOption: TRUE
  1068.     *Option: FALSE
  1069.     {
  1070.         *rcNameID: 444
  1071.         *DisabledFeatures: LIST(Duplex.VERTICAL, Duplex.HORIZONTAL)
  1072.     }
  1073.     *Option: TRUE
  1074.     {
  1075.         *rcNameID: 443
  1076.     }
  1077. }
  1078.  
  1079. *Feature: Duplex
  1080. {
  1081.     *rcNameID: =TWO_SIDED_PRINTING_DISPLAY
  1082.     *DefaultOption: NONE
  1083.     *Option: NONE
  1084.     {
  1085.         *rcNameID: =NONE_DISPLAY
  1086.         *Command: CmdSelect
  1087.         {
  1088.             *Order: DOC_SETUP.3
  1089.             *Cmd: "<1B>&l0S"
  1090.         }
  1091.     }
  1092.     *Option: VERTICAL
  1093.     {
  1094.         *rcNameID: =FLIP_ON_LONG_EDGE_DISPLAY
  1095.         *Command: CmdSelect
  1096.         {
  1097.             *Order: DOC_SETUP.4
  1098.             *Cmd: "<1B>&l1S"
  1099.         }
  1100.         *Constraints: LIST(MediaType.Labels, MediaType.Transparency)
  1101.     }
  1102.     *Option: HORIZONTAL
  1103.     {
  1104.         *rcNameID: =FLIP_ON_SHORT_EDGE_DISPLAY
  1105.         *Command: CmdSelect
  1106.         {
  1107.             *Order: DOC_SETUP.4
  1108.             *Cmd: "<1B>&l2S"
  1109.         }
  1110.         *Constraints: LIST(MediaType.Labels, MediaType.Transparency)
  1111.     }
  1112. }
  1113.  
  1114. *%
  1115. *% Duplex / Unit, Sizes, Types constraints
  1116. *%
  1117. *InvalidCombination: LIST(DuplexUnit.FALSE,  Duplex.VERTICAL)
  1118. *InvalidCombination: LIST(DuplexUnit.FALSE,  Duplex.HORIZONTAL)
  1119. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.ENV_10)
  1120. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.ENV_DL)
  1121. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.ENV_MONARCH)
  1122. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.ENV_C5)
  1123. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.ENV_B5)
  1124.  
  1125. *Ifdef: WINNT_50
  1126. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.DBL_JAPANESE_POSTCARD_ROTATED)
  1127. *Endif: WINNT_50
  1128. *InvalidCombination: LIST(Duplex.VERTICAL,   PaperSize.MyMax117x177)
  1129. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_10)
  1130. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_DL)
  1131. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_MONARCH)
  1132. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_C5)
  1133. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.ENV_B5)
  1134.  
  1135. *Ifdef: WINNT_50
  1136. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.DBL_JAPANESE_POSTCARD_ROTATED)
  1137. *Endif: WINNT_50
  1138. *InvalidCombination: LIST(Duplex.HORIZONTAL, PaperSize.MyMax117x177)
  1139.  
  1140.  
  1141. *% IMPORTANT NOTE:
  1142. *% The OEM customization code assumes that this feature's keyname is
  1143. *%   "Option21"
  1144. *% The OEM customization code assumes that the options are named "Mailbox",
  1145. *%   "Stacker" and "Separator"
  1146. *Feature: Option21
  1147. {
  1148.     *rcNameID: 423   *% Mailbox Mode
  1149.     *HelpIndex: 12015
  1150.     *FeatureType: PRINTER_PROPERTY
  1151.     *Option: MailboxModeMailbox
  1152.     {
  1153.         *rcNameID: 422  *% Mailbox
  1154.     }
  1155.     *Option: MailboxModeStacker
  1156.     {
  1157.         *rcNameID: 431  *% Stacker
  1158.         *DisabledFeatures: LIST(Stapling)
  1159.     }
  1160.     *Option: MailboxModeSeparator
  1161.     {
  1162.         *rcNameID: 432  *% Job Separator
  1163.         *DisabledFeatures: LIST(Stapling)
  1164.     }
  1165. }
  1166.  
  1167. *% Feature that allows user to select which, if any, accessory output
  1168. *% bin is installed.
  1169. *% Called "Option20" because that's what PPD calls it.
  1170. *Feature: Option20
  1171. {
  1172.     *rcNameID: 582  *% Accessory Output Bin
  1173.     *HelpIndex: 12012
  1174.     *FeatureType: PRINTER_PROPERTY
  1175.     *DefaultOption: Standard
  1176.     *Option: Standard
  1177.     {
  1178.         *rcNameID: 426  *% Left Face Up
  1179.         *DisabledFeatures: LIST(Stapling)
  1180.     }
  1181.     *Option: MBM5S
  1182.     {
  1183.         *rcNameID: 425
  1184.     }
  1185.     *Option: MBM8
  1186.     {
  1187.         *rcNameID: 424
  1188.         *DisabledFeatures: LIST(Stapling)
  1189.     }
  1190.     *Option: None
  1191.     {
  1192.         *rcNameID: 444
  1193.         *DisabledFeatures: LIST(Stapling)
  1194.     }
  1195. }
  1196.  
  1197. *% define stapling capability for directory services
  1198. *% + The OEMUI DLL will hide this from the Doc Defaults Advanced tree-view.
  1199. *% + The user selects stapling from Output Bin (Stapler).
  1200. *% + Disabled if 5binHCO not installed OR Option21 not in Mailbox mode.
  1201. *Feature: Stapling
  1202. {
  1203.     *rcNameID: 433 *% Stapler
  1204.     *Option: Bogus
  1205.     {
  1206.         *Name: "Select from Output Bin"
  1207.     }
  1208. }
  1209.  
  1210. *% IMPORTANT NOTE:
  1211. *% The OEM customization code that goes with this minidriver (hp5si5ui.dll)
  1212. *% assumes that all these output bins are defined and are defined in the
  1213. *% current order.  (Don't change it!)  These are hard-coded defines in
  1214. *% the OEM code.
  1215. *Feature: OutputBin
  1216. {
  1217.     *rcNameID: =OUTPUTBIN_DISPLAY
  1218.     *HelpIndex: 12011
  1219.     *DefaultOption: Option1
  1220.     *Option: Option1
  1221.     {
  1222.         *% Auto Select
  1223.         *rcNameID: 271
  1224.         *Command: CmdSelect
  1225.         {
  1226.         }
  1227.     }
  1228.     *Option: Option2
  1229.     {
  1230.         *% Top Face-Down
  1231.         *rcNameID: 282
  1232.         *Command: CmdSelect
  1233.         {
  1234.             *Order: JOB_SETUP.5
  1235.             *Cmd: "@PJL SET OUTBIN=UPPER<0A>"
  1236.         }
  1237.     }
  1238.     *Option: Option3
  1239.     {
  1240.         *% Left Face-Up
  1241.         *rcNameID: 283
  1242.         *OutputOrderReversed?:  TRUE
  1243.         *Command: CmdSelect
  1244.         {
  1245.             *Order: JOB_SETUP.5
  1246.             *Cmd: "@PJL SET OUTBIN=LOWER<0A>"
  1247.         }
  1248.     }
  1249.     *Option: Option4
  1250.     {
  1251.         *% HCO Face-Up
  1252.         *rcNameID: 284
  1253.         *OutputOrderReversed?:  TRUE
  1254.         *Command: CmdSelect
  1255.         {
  1256.             *Order: JOB_SETUP.5
  1257.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN1<0A>"
  1258.         }
  1259.     }
  1260.     *Option: Option5
  1261.     {
  1262.         *% Mailbox 1
  1263.         *rcNameID: 412
  1264.         *Command: CmdSelect
  1265.         {
  1266.             *Order: JOB_SETUP.5
  1267.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
  1268.         }
  1269.     }
  1270.     *Option: Option6
  1271.     {
  1272.         *% Mailbox 2
  1273.         *rcNameID: 413
  1274.         *Command: CmdSelect
  1275.         {
  1276.             *Order: JOB_SETUP.5
  1277.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN3<0A>"
  1278.         }
  1279.     }
  1280.     *Option: Option7
  1281.     {
  1282.         *% Mailbox 3
  1283.         *rcNameID: 414
  1284.         *Command: CmdSelect
  1285.         {
  1286.             *Order: JOB_SETUP.5
  1287.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN4<0A>"
  1288.         }
  1289.     }
  1290.     *Option: Option8
  1291.     {
  1292.         *% Mailbox 4
  1293.         *rcNameID: 415
  1294.         *Command: CmdSelect
  1295.         {
  1296.             *Order: JOB_SETUP.5
  1297.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN5<0A>"
  1298.         }
  1299.     }
  1300.     *Option: Option9
  1301.     {
  1302.         *% Mailbox 5
  1303.         *rcNameID: 416
  1304.         *Command: CmdSelect
  1305.         {
  1306.             *Order: JOB_SETUP.5
  1307.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN6<0A>"
  1308.         }
  1309.     }
  1310.     *Option: Option10
  1311.     {
  1312.         *% Mailbox 6
  1313.         *rcNameID: 417
  1314.         *Command: CmdSelect
  1315.         {
  1316.             *Order: JOB_SETUP.5
  1317.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN7<0A>"
  1318.         }
  1319.     }
  1320.     *Option: Option11
  1321.     {
  1322.         *% Mailbox 7
  1323.         *rcNameID: 418
  1324.         *Command: CmdSelect
  1325.         {
  1326.             *Order: JOB_SETUP.5
  1327.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN8<0A>"
  1328.         }
  1329.     }
  1330.     *Option: Option12
  1331.     {
  1332.         *% Mailbox 8
  1333.         *rcNameID: 419
  1334.         *Command: CmdSelect
  1335.         {
  1336.             *Order: JOB_SETUP.5
  1337.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN9<0A>"
  1338.         }
  1339.     }
  1340.     *Option: Option13
  1341.     {
  1342.         *% Stapler
  1343.         *rcNameID: 433   *% Stapler
  1344.         *Command: CmdSelect
  1345.         {
  1346.             *Order: JOB_SETUP.5
  1347.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN7<0A>@PJL SET FINISH=STAPLE<0A>"
  1348.         }
  1349.        
  1350.     }
  1351.     *Option: Option14
  1352.     {
  1353.         *% Stacker
  1354.         *rcNameID: 431   *% Stacker
  1355.         *Command: CmdSelect
  1356.         {
  1357.             *Order: JOB_SETUP.5
  1358.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
  1359.         }
  1360.     }
  1361.     *Option: Option15
  1362.     {
  1363.         *% Job Separator
  1364.         *rcNameID: 432   *% Job Separator
  1365.         *Command: CmdSelect
  1366.         {
  1367.             *Order: JOB_SETUP.5
  1368.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
  1369.         }
  1370.     }
  1371.     *Option: Option16
  1372.     {
  1373.         *% Collator
  1374.         *rcNameID: 392   *% Collator
  1375.         *Command: CmdSelect
  1376.         {
  1377.             *Order: JOB_SETUP.5
  1378.             *Cmd: "@PJL SET OUTBIN=OPTIONALOUTBIN2<0A>"
  1379.         }
  1380.     }
  1381. }
  1382.  
  1383. *%
  1384. *% installed HCO / OutputBin constraints
  1385. *%
  1386. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option4)
  1387. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option5)
  1388. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option6)
  1389. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option7)
  1390. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option8)
  1391. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option9)
  1392. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option10)
  1393. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option11)
  1394. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option12)
  1395. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option13)
  1396. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option14)
  1397. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option15)
  1398. *InvalidCombination: LIST(Option20.Standard, OutputBin.Option16)
  1399.  
  1400.  
  1401. *InvalidCombination: LIST(Option20.MBM5S, OutputBin.Option3)
  1402. *InvalidCombination: LIST(Option20.MBM5S, OutputBin.Option10)
  1403. *InvalidCombination: LIST(Option20.MBM5S,  OutputBin.Option11)
  1404. *InvalidCombination: LIST(Option20.MBM5S, OutputBin.Option12)
  1405.  
  1406. *InvalidCombination: LIST(Option20.MBM8, OutputBin.Option3)
  1407. *InvalidCombination: LIST(Option20.MBM8, OutputBin.Option13)
  1408.  
  1409. *%
  1410. *% Stapling (OutputBin.Option13) / Sizes, Types constraints
  1411. *%
  1412. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.LEGAL)
  1413. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.EXECUTIVE)
  1414. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.11X17)
  1415. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.ENV_10)
  1416. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.ENV_DL)
  1417. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.ENV_MONARCH)
  1418. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.A3)
  1419. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.B4)
  1420. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.B5)
  1421. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.ENV_C5)
  1422. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.ENV_B5)
  1423. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.CUSTOMSIZE)
  1424. *Ifdef: WINNT_50
  1425. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.DBL_JAPANESE_POSTCARD_ROTATED)
  1426. *Endif: WINNT_50
  1427. *InvalidCombination: LIST(OutputBin.Option13, PaperSize.MyMax117x177)
  1428.  
  1429. *%
  1430. *% Envelopes to top & left face up bin of MBMs
  1431. *%
  1432. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option5)
  1433. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option6)
  1434. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option7)
  1435. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option8)
  1436. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option9)
  1437. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option10)
  1438. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option11)
  1439. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option12)
  1440. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option14)
  1441. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option15)
  1442. *InvalidCombination: LIST(PaperSize.ENV_10, OutputBin.Option16)
  1443.  
  1444. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option5)
  1445. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option6)
  1446. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option7)
  1447. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option8)
  1448. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option9)
  1449. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option10)
  1450. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option11)
  1451. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option12)
  1452. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option14)
  1453. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option15)
  1454. *InvalidCombination: LIST(PaperSize.ENV_DL, OutputBin.Option16)
  1455.  
  1456. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option5)
  1457. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option6)
  1458. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option7)
  1459. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option8)
  1460. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option9)
  1461. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option10)
  1462. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option11)
  1463. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option12)
  1464. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option14)
  1465. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option15)
  1466. *InvalidCombination: LIST(PaperSize.ENV_MONARCH, OutputBin.Option16)
  1467.  
  1468. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option5)
  1469. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option6)
  1470. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option7)
  1471. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option8)
  1472. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option9)
  1473. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option10)
  1474. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option11)
  1475. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option12)
  1476. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option14)
  1477. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option15)
  1478. *InvalidCombination: LIST(PaperSize.ENV_C5, OutputBin.Option16)
  1479.  
  1480. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option5)
  1481. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option6)
  1482. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option7)
  1483. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option8)
  1484. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option9)
  1485. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option10)
  1486. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option11)
  1487. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option12)
  1488. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option14)
  1489. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option15)
  1490. *InvalidCombination: LIST(PaperSize.ENV_B5, OutputBin.Option16)
  1491.  
  1492. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option5)
  1493. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option6)
  1494. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option7)
  1495. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option8)
  1496. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option9)
  1497. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option10)
  1498. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option11)
  1499. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option12)
  1500. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option14)
  1501. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option15)
  1502. *InvalidCombination: LIST(PaperSize.CUSTOMSIZE, OutputBin.Option16)
  1503.  
  1504. *Ifdef: WINNT_50
  1505. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option5)
  1506. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option6)
  1507. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option7)
  1508. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option8)
  1509. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option9)
  1510. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option10)
  1511. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option11)
  1512. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option12)
  1513. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option14)
  1514. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option15)
  1515. *InvalidCombination: LIST(PaperSize.DBL_JAPANESE_POSTCARD_ROTATED, OutputBin.Option16)
  1516. *Endif: WINNT_50
  1517.  
  1518. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option5)
  1519. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option6)
  1520. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option7)
  1521. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option8)
  1522. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option9)
  1523. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option10)
  1524. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option11)
  1525. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option12)
  1526. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option14)
  1527. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option15)
  1528. *InvalidCombination: LIST(PaperSize.MyMax117x177, OutputBin.Option16)
  1529.  
  1530. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option5)
  1531. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option6)
  1532. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option7)
  1533. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option8)
  1534. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option9)
  1535. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option10)
  1536. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option11)
  1537. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option12)
  1538. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option14)
  1539. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option15)
  1540. *InvalidCombination: LIST(PaperSize.EXECUTIVE, OutputBin.Option16)
  1541.  
  1542. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option5)
  1543. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option6)
  1544. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option7)
  1545. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option8)
  1546. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option9)
  1547. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option10)
  1548. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option11)
  1549. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option12)
  1550. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option13)
  1551. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option14)
  1552. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option15)
  1553. *InvalidCombination: LIST(MediaType.CardStock, OutputBin.Option16)
  1554.  
  1555. *InvalidCombination: LIST(MediaType.Transparency,OutputBin.Option5)
  1556. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option6)
  1557. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option7)
  1558. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option8)
  1559. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option9)
  1560. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option10)
  1561. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option11)
  1562. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option12)
  1563. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option13)
  1564. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option14)
  1565. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option15)
  1566. *InvalidCombination: LIST(MediaType.Transparency, OutputBin.Option16)
  1567.  
  1568. *InvalidCombination: LIST(MediaType.Labels,OutputBin.Option5)
  1569. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option6)
  1570. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option7)
  1571. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option8)
  1572. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option9)
  1573. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option10)
  1574. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option11)
  1575. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option12)
  1576. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option13)
  1577. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option14)
  1578. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option15)
  1579. *InvalidCombination: LIST(MediaType.Labels, OutputBin.Option16)
  1580.  
  1581. *Feature: PageProtect
  1582. {
  1583.     *rcNameID: =PAGE_PROTECTION_DISPLAY
  1584.     *DefaultOption: OFF
  1585.     *Option: ON
  1586.     {
  1587.         *rcNameID: =ON_DISPLAY
  1588.         *Command: CmdSelect
  1589.         {
  1590.             *Order: JOB_SETUP.2
  1591.             *Cmd: "@PJL SET PAGEPROTECT=ON<0A>"
  1592.         }
  1593.     }
  1594.     *Option: OFF
  1595.     {
  1596.         *rcNameID: =OFF_DISPLAY
  1597.         *Command: CmdSelect
  1598.         {
  1599.             *Order: JOB_SETUP.2
  1600.             *Cmd: "@PJL SET PAGEPROTECT=OFF<0A>@PJL SET PAGEPROTECT=AUTO<0A>"
  1601.         }
  1602.     }
  1603. }
  1604. *%-------------------------------------------------------------------------
  1605. *% Job setup commands
  1606. *%-------------------------------------------------------------------------
  1607. *Command: CmdStartJob
  1608. {
  1609.     *Order: JOB_SETUP.1
  1610.     *Cmd: "<1B>%%-12345X"
  1611. +         "@PJL COMMENT HP LaserJet 5Si MX<0A>"
  1612. }
  1613. *Command: CmdStartDoc
  1614. {
  1615.     *Order: DOC_SETUP.1
  1616.     *Cmd: "<1B>&u600D<1B>*r0F"
  1617. }
  1618. *Command: CmdStartPage
  1619. {
  1620.     *Order: PAGE_SETUP.1
  1621.     *Cmd: "<1B>*b0M<0D>"
  1622. }
  1623. *Command: CmdEndJob
  1624. {
  1625.     *Order: JOB_FINISH.1
  1626.     *Cmd: "<1B>E<1B>%%-12345X"
  1627. }
  1628.  
  1629. *% Only set number of copies if printer collation is not possible.
  1630. *% This should mirror the setting of QTY (see *Feature: Collate).
  1631. *% That is if QTY is set copies should be 1 else set to NumOfCopies.
  1632. *switch: Collate
  1633. {
  1634.     *case: OFF
  1635.     {
  1636.         *Command: CmdCopies
  1637.         {
  1638.             *Order: DOC_SETUP.7
  1639.             *% Uncollated copies!  Set copy count to NumOfCopies
  1640.             *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  1641.         }
  1642.     }
  1643.     *case: ON
  1644.     {
  1645.         *switch: PrinterHardDisk
  1646.         {
  1647.             *case: FALSE
  1648.             {
  1649.                 *Command: CmdCopies
  1650.                 {
  1651.                     *Order: DOC_SETUP.7
  1652.                     *% Collate requested but no disk => printer collate disabled
  1653.                     *% WordPad on Whistler does not handle single page documents correctly.  The
  1654.                     *% Printer hard disk switch ensures the user gets the requested copies.
  1655.                     *Cmd: "<1B>&l" %d[1,999]{NumOfCopies}"X"
  1656.                 }
  1657.             }
  1658.             *case: TRUE
  1659.             {
  1660.                 *Command: CmdCopies
  1661.                 {
  1662.                     *Order: DOC_SETUP.7
  1663.                     *% Collate requested with disk => printer collate enabled
  1664.                     *% Printer will take care of collated copies
  1665.                     *Cmd: "<1B>&l1X"
  1666.                 }
  1667.             }
  1668.         }
  1669.     }
  1670. }
  1671.  
  1672. *RotateCoordinate?: TRUE
  1673. *RotateRaster?: TRUE
  1674. *RotateFont?: TRUE
  1675. *TextCaps: LIST(TC_CR_90,TC_UA_ABLE)
  1676. *MemoryUsage: LIST(FONT)
  1677. *CursorXAfterCR: AT_PRINTABLE_X_ORIGIN
  1678. *BadCursorMoveInGrxMode: LIST(X_PORTRAIT,Y_LANDSCAPE)
  1679. *XMoveThreshold: 0
  1680. *YMoveThreshold: 0
  1681. *XMoveUnit: 600
  1682. *YMoveUnit: 600
  1683. *Command: CmdXMoveAbsolute { *Cmd : "<1B>*p" %d{(DestX / 2) }"X" }
  1684. *Command: CmdXMoveRelRight { *Cmd : "<1B>*p+" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  1685. *Command: CmdXMoveRelLeft { *Cmd : "<1B>*p-" %d[0,9600]{max_repeat((DestXRel / 2) )}"X" }
  1686. *Command: CmdYMoveAbsolute { *Cmd : "<1B>*p" %d{(DestY / 2) }"Y" }
  1687. *Command: CmdYMoveRelDown { *Cmd : "<1B>*p+" %d{(DestYRel / 2) }"Y" }
  1688. *Command: CmdYMoveRelUp { *Cmd : "<1B>*p-" %d{(DestYRel / 2) }"Y" }
  1689. *Command: CmdCR { *Cmd : "<0D>" }
  1690. *Command: CmdLF { *Cmd : "<0A>" }
  1691. *Command: CmdFF { *Cmd : "<0C>" }
  1692. *Command: CmdBackSpace { *Cmd : "<08>" }
  1693. *Command: CmdUniDirectionOn { *Cmd : "<00>" }
  1694. *Command: CmdUniDirectionOff { *Cmd : "<00>" }
  1695. *Command: CmdPushCursor { *Cmd : "<1B>&f0S" }
  1696. *Command: CmdPopCursor { *Cmd : "<1B>&f1S" }
  1697. *Command: CmdSetSimpleRotation { *Cmd : "<1B>&a" %d{PrintDirInCCDegrees}"P" }
  1698. *EjectPageWithFF?: TRUE
  1699. *Command: CmdEnableTIFF4 { *Cmd : "<1B>*b2M" }
  1700. *Command: CmdDisableCompression { *Cmd : "<1B>*b0M" }
  1701. *Command: CmdEnableDRC { *Cmd : "<1B>*b3M" }
  1702. *OutputDataFormat: H_BYTE
  1703. *OptimizeLeftBound?: TRUE
  1704. *CursorXAfterSendBlockData: AT_GRXDATA_ORIGIN
  1705. *CursorYAfterSendBlockData: AUTO_INCREMENT
  1706. *DefaultFont: 229
  1707. *DefaultCTT: 0
  1708. *CharPosition: BASELINE
  1709. *TTFSEnabled?: TRUE
  1710. *DeviceFonts: LIST(146,147,148,149,150,151,152,153,154,155,
  1711. +       156,157,164,165,166,196,197,198,199,200,
  1712. +       201,202,203,209,210,211,212,213,214,215,
  1713. +       216,217,218,219,220,221,222,223,224,225,
  1714. +       226,227,228,229,230)
  1715. *FontCartridge: FC1
  1716. {
  1717.     *rcCartridgeNameID: 322
  1718.     *Fonts: LIST(117,118,119,120,121,122,123,124,126,127,128,129,130,131,132,133,125)
  1719. }
  1720. *FontCartridge: FC2
  1721. {
  1722.     *rcCartridgeNameID: 323
  1723.     *Fonts: LIST(1,2,3,4,27,28,29,30,44,45,69,70,71,72,73,74,
  1724. +                   75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,
  1725. +                   91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107)
  1726. }
  1727. *FontCartridge: FC3
  1728. {
  1729.     *rcCartridgeNameID: 324
  1730.     *Fonts: LIST(31,32,33,34,35,36)
  1731. }
  1732. *FontCartridge: FC4
  1733. {
  1734.     *rcCartridgeNameID: 325
  1735.     *Fonts: LIST(37,38,39,40,41,42,43)
  1736. }
  1737. *FontCartridge: FC5
  1738. {
  1739.     *rcCartridgeNameID: 326
  1740.     *Fonts: LIST(16,17,18,46,47,48,49,108,109,110,111,112,113,114,115,116)
  1741. }
  1742. *FontCartridge: FC6
  1743. {
  1744.     *rcCartridgeNameID: 327
  1745.     *Fonts: LIST(40,41,42,43,59,60,65,66,67,68,69,70,71,72,142,143,
  1746. +                   144,145)
  1747. }
  1748. *FontCartridge: FC7
  1749. {
  1750.     *rcCartridgeNameID: 328
  1751.     *Fonts: LIST(10,50,51,52,53,54,55,56,57,58,59,60,62,63,64)
  1752. }
  1753. *FontCartridge: FC8
  1754. {
  1755.     *rcCartridgeNameID: 329
  1756.     *Fonts: LIST(14,19,20,21,22,23,24,25,26)
  1757. }
  1758. *FontCartridge: FC9
  1759. {
  1760.     *rcCartridgeNameID: 330
  1761.     *Fonts: LIST(5,6,7,8,9,11,12,13,14,15,141)
  1762. }
  1763. *FontCartridge: FC10
  1764. {
  1765.     *rcCartridgeNameID: 331
  1766.     *Fonts: LIST(231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,
  1767. +                   247,248)
  1768. }
  1769. *FontCartridge: FC11
  1770. {
  1771.     *rcCartridgeNameID: 332
  1772.     *Fonts: LIST(154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,
  1773. +                   170,171,172,173,174,175,176,177,178,179,180,181,182)
  1774. }
  1775. *FontCartridge: FC12
  1776. {
  1777.     *rcCartridgeNameID: 333
  1778.     *Fonts: LIST(183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,
  1779. +                   199,200,201,202,203,204,205,206,207,208)
  1780. }
  1781. *MinFontID: 16534
  1782. *MaxFontID: 32768
  1783. *switch: Resolution
  1784. {
  1785.     *case: Option1
  1786.     {
  1787.         *FontFormat: HPPCL_OUTLINE
  1788.     }
  1789.     *case: Option2
  1790.     {
  1791.         *FontFormat: HPPCL_RES
  1792.     }
  1793. }
  1794. *Command: CmdSetFontID { *Cmd : "<1B>*c" %d{NextFontID}"D" }
  1795. *Command: CmdSelectFontID { *Cmd : "<1B>(" %d{CurrentFontID}"X" }
  1796. *Command: CmdSetCharCode { *Cmd : "<1B>*c" %d{NextGlyph}"E" }
  1797. *Command: CmdUnderlineOn { *Cmd : "<1B>&dD" }
  1798. *Command: CmdUnderlineOff { *Cmd : "<1B>&d@" }
  1799. *Command: CmdDownloadPattern {*Cmd: "<1B>*c" %d{PatternBrushID}"G" "<1B>*c" %d{PatternBrushSize}"W" }
  1800. *Command: CmdSelectPattern {*Cmd: "<1B>*c" %d{PatternBrushID}"G" "<1B>*v" %d{PatternBrushType}"T" }
  1801. *Command: CmdSelectWhiteBrush { *Cmd : "<1B>*v1o1T" }
  1802. *Command: CmdSelectBlackBrush { *Cmd : "<1B>*v0o0T" }
  1803. *MinGrayFill: 1
  1804. *MaxGrayFill: 100
  1805. *Command: CmdSetRectWidth { *Cmd : "<1B>*c" %d{(RectXSize / 2) }"A" }
  1806. *Command: CmdSetRectHeight { *Cmd : "<1B>*c" %d{(RectYSize / 2) }"B" }
  1807. *Command: CmdRectGrayFill { *Cmd : "<1B>*c" %d{GrayPercentage }"g2P" }
  1808. *Command: CmdRectWhiteFill { *Cmd : "<1B>*c1P" }
  1809. *Command: CmdRectBlackFill { *Cmd : "<1B>*c0P" }
  1810.  
  1811. *Ifdef: WINNT_51
  1812. *Personality: =PERSONALITY_HPGL2
  1813.  
  1814. *%********************************************************************
  1815. *%      Graphics Mode: Custom Feature
  1816. *%********************************************************************
  1817. *Feature: GraphicsMode
  1818. {
  1819.     *rcNameID: =GRAPHICSMODE_DISPLAY
  1820.     *DefaultOption: HPGL2MODE
  1821.     *Option: HPGL2MODE
  1822.     {
  1823.         *rcNameID: =GRAPHICSMODE_HPGL2_DISPLAY
  1824.         *Constraints: Resolution.Option2
  1825.     }
  1826.     *Option: RASTERMODE
  1827.     {
  1828.         *rcNameID: =GRAPHICSMODE_RASTER_DISPLAY
  1829.     }
  1830. }
  1831.  
  1832. *Endif: WINNT_51